In the case of
[
{
"firstname":"tom",
"lastname":"brady",
"firstname":"jason",
"lastname":"fred"
}
]
You have all the paramaters under the same object. Does changing your json to be
[
{
"firstname":"tom",
"lastname":"brady"
},
{
"firstname": "jason",
"lastname":"fred"
}
]