Fixed a crash in RdfValidator when metadata is null;
Changed conversion from ByteArrayOutputStream to ByteArrayInputStream to not allocate memory and duplicate buffer.
Add cache (again) for the RecordInfo to reduce HTTP queries.