Working through generating JSON to send to the server when placing orders