Ruby updated to send expected JSON