Encode the "extra" field in a service offering as JSON