Fixed #51, problems with JsonLocation serialization
Add a unit test to verify serializability of Location