return type signature changed for json serialisation methods