Make keys serialise into byte array and not String and use only Collections, not arrays.