added fwaris's JSON parser from http://fwaris.wordpress.com/2012/06/09/fsjson/