app: change framework to plaform in MarshalJSON