Moved to Data.Aeson for JSON parsing, Formatting implemented for posts and attachments