Added necessary @JsonSubTypes annotations in order for configuration parser to work properly.