make ToJSON instances