adding missing to_hash method for backbone POST