Add isEmpty method to Location.
Fix Serializer to ignore null and default values.