http://mbed.org/users/samux/code/MbedJSONValue/#10a99cdf7846