GPS logging to database through HTTP post using JSON data