Move parsing to tyhpoid parser class
Add parser attr_writer to typhoid resource for allowing custom parsers