Merge "platform: error handling for bad JSON from glaukus"