JSON Response Format Support Implemented

Minor bug fixed