Add support for nested JSON objects