Create dedicated post model instead of using the json