separate SF and reg. toJson fns., remove unnecessary compiled files