json serializing related feature additions