Separate yaml reader and cached reader