Added TJsonFields(.php) - a trait which provides a simple yet flexible implementation of the JsonSerializable interface. Logic derived from code originally added to the diskaro project.