[v6r11] BUGFIX : toJSON of the RMS dumps fake data

Since the toJson used to loop on the internal data, we were sometimes not getting the proper information, since they are fetched at the last moment by the getter. This patch calls the getter in the toJSON rather than internal data