Convert the metadatas to Post object