WIP records: REST API addition

i tried this one:
```python
headers=[('Content-Type', content-type)]

return (result, 200, headers)
```
But for every `mime-type` flask was always returning `application/json` even though i was telling it to return the headers i've put.
I will check again, with the above code and i'll let you know.
The current implementation worked, that is why i wrote it like that.