Reverted JSONRepresentation and other fancy functions