Photograph internal REST API improvements. Fixes #208