fixes #7015 - to_json passes options through correctly, remove array wrapping

The update of ffi-yajl triggers this as it starts checking for something in the options hash, but the bug is in our code which had `{}` passed in as options, but then passed `[{}]` into the next to_json call.

This is a test blocker, again.