standard json response helpers

Change-Id: Ie1b5020802cab91714af9dbcab49aa0bccdce1f5
Merge "standard json response helpers"