Dynamic Json Parsing In Javascript