ServerMethods: If transaction response is empty initialize it as an array

Change-Id: I65caf3af4b660ac86954ebf9a92022e580185021