{"fields": {"score":
{"integer Value": score},"name":
{"stringValue":"name"), "school": {"stringValue":"school"),"age": {"integerValue": age}}}
{"fields": {"score":
{"integer Value": score},"name":
{"stringValue":"name"), "school": {"stringValue":"school"),"age": {"integerValue": age}}}
A couple of your closing brackets appear to be wrong, they should be "curly", for you to have a properly formed json.
{
"fields": 
{
"score":{"integer Value": score},
"name":{"stringValue":"name"}, 
"school":{"stringValue":"school"},
"age":{"integerValue": age}
}
}
What do you want your output to look like?