added map to return json