Formed proper hash
Renamed json method