Implemented the new JSON structure

Signed-off-by: Umair Khan <omerjerk@gmail.com>