Move attr_in conversion into its own function
Parse attributes while streaming