Revert "Updating JSON profile serialization"

This reverts commit 4ec40ed86509d5b8aaf18ac038836873bb45463c.