Corrected loc2json for float lat/long values and added milliseconds to the unixTime stamp.