Get requests returns json string.

1. The get request now returns a json string in its response, with metadata block and the bins block separately.