Workaround null dates returned by rpc calls on draft posts generated by an old version of WordPress