Examples of how to send/receive JSON as a custom type in Spacebrew