add @ramnathv new to_json method for testing