Fix #16: Add EntityTrait with to methods: fromArray() and toArray()