Abstraction for Key-Value to Plain Old PHP Object mapping