Extract methods in ParserSpec
Extract methods in SerializerSpec