added simple case for empty JSON object