Added ability to serialize JSExecutionStatus. Added ability to serialize object as body(not property).