true,
true,
positions);
ObjectMapper mapper =
new ObjectMapperProvider().getContext(ObjectMapper.class);
String json1 = mapper.writeValueAsString(summary1);
// System.out.println(json1);
BrokerageAccountSummary summary2 =
mapper.readValue(json1, BrokerageAccountSummary.class);