Fix JSON.from_object() to use options hash