Change get_schema to return all keys as required if not arguments are provided

Fix JSON encoder

Update database schema
Add API endpoints for machines and testers