performance phase 1: json marshall and unmarshall; memory utilization
decreased during bytearrayoutputstream.tobytearray method invocation