puppetlabs/razor-server — pull request #12 by alexkonradi (2013-07-29 17:28:50+00:00)
Title: Basic API translation layer for Data::Tag and Data::Policy

This is a basic implementation of an API translation layer that would be used to represent database objects as JSON. It is intended to allow the database schema to evolve without changing the API response format.

The translation code is meant to be explicit rather than implicit, hence all returned keys and values are clearly specified in the code (and the comments).