main posts endpoint is now sorted, refactoring marshalling, standardized json