Toy PHP library for prototyping persistence for RESTful resources