Modified to_json method for profile
Removed whitespaces & indentation