fixing json serialization configuration to comply with new UseSerializer feature