added created fields and json serialization