REST Library: fixed tests on OpenJDK 8

Different orders in RDF output but still valid.
QI-318 Fixed ValueCompositeSerializationTest for JDK8