added features to the json parser