insert person sends the correct json to php