Impl encodable/decodable for the array newtypes