Class to convert arbitrary string into a JsonConstruct, if possible.