Fix of WPPost json serialization