Add support for JSON objects