Got simple api endpoint working.
First attempt at api and tests.
Renaming as_json to as_hash and adding test.
Adding test for POST /records, and Api delete and people methods for easier testing.
Adding final test for POST /records error.