JSON API for the Pattern Lab