In the array creation part, added logic to add quotes if its a string
Added check to return empty dict if hash length is 0
Fixed get_json_obj to property quote a string