Fix bug that JSON objects are not supported