Move the JSON support of parent class to the inplace functions
Move the JSON support of parent class to the inplace functions