Support for new hash syntax

* support for json as well