Bugfix Format::forge()->to_(json|serialized|php)

Loose typing provokes nullish values to be converted to null. Hence encoding empty array() doesn't work.
Merge pull request #1449 from Savageman/patch-7

Bugfix Format::forge()->to_(json|serialized|php)