OpenStructWithHashAccess should delegate #to_json and #as_json to the internal hash