Serialize objects with ID, and array returned values

Conflicts:
	package.json

Change-Id: I115c12da2f9e29be29178ceb66a52345328dcee7