added json serializer and sample fetching of map data