Golang gist for unmarshalling JSON containing an epoch timestamp with the value in milliseconds, stored as a string:
{"timestamp": "1436150027000"}
Note the three zeroes at the end of the value, and also note that the value is stored as a string – not as a number
string: {"timestamp": "1436150027000"}
number: {"timestamp": 1436150027000}
The example code above will process both samples listed where epoch time in milliseconds is stored as either string or number
You could replace lines 39 - 47 with