Added recording JSON endpoints with SQL Alchemy.